package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 预约信息
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2021-03-10 17:14:38
 */
@TableName("yuyuexinxi")
public class YuyuexinxiEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public YuyuexinxiEntity() {
		
	}
	
	public YuyuexinxiEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
	@TableId
	private Long id;
	/**
	 * 订单号
	 */
					
	private String dingdanhao;
	
	/**
	 * 废品名称
	 */
					
	private String feipinmingcheng;
	
	/**
	 * 废品种类
	 */
					
	private String feipinzhonglei;
	
	/**
	 * 账号
	 */
					
	private String zhanghao;
	
	/**
	 * 姓名
	 */
					
	private String xingming;
	
	/**
	 * 预估重量
	 */
					
	private Integer yuguzhongliang;
	
	/**
	 * 回收地址
	 */
					
	private String huishoudizhi;
	
	/**
	 * 预约时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 		
	private Date yuyueshijian;
	
	/**
	 * 每斤单价
	 */
					
	private Integer meijindanjia;
	
	/**
	 * 回收总额
	 */
					
	private String huishouzonge;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：订单号
	 */
	public void setDingdanhao(String dingdanhao) {
		this.dingdanhao = dingdanhao;
	}
	/**
	 * 获取：订单号
	 */
	public String getDingdanhao() {
		return dingdanhao;
	}
	/**
	 * 设置：废品名称
	 */
	public void setFeipinmingcheng(String feipinmingcheng) {
		this.feipinmingcheng = feipinmingcheng;
	}
	/**
	 * 获取：废品名称
	 */
	public String getFeipinmingcheng() {
		return feipinmingcheng;
	}
	/**
	 * 设置：废品种类
	 */
	public void setFeipinzhonglei(String feipinzhonglei) {
		this.feipinzhonglei = feipinzhonglei;
	}
	/**
	 * 获取：废品种类
	 */
	public String getFeipinzhonglei() {
		return feipinzhonglei;
	}
	/**
	 * 设置：账号
	 */
	public void setZhanghao(String zhanghao) {
		this.zhanghao = zhanghao;
	}
	/**
	 * 获取：账号
	 */
	public String getZhanghao() {
		return zhanghao;
	}
	/**
	 * 设置：姓名
	 */
	public void setXingming(String xingming) {
		this.xingming = xingming;
	}
	/**
	 * 获取：姓名
	 */
	public String getXingming() {
		return xingming;
	}
	/**
	 * 设置：预估重量
	 */
	public void setYuguzhongliang(Integer yuguzhongliang) {
		this.yuguzhongliang = yuguzhongliang;
	}
	/**
	 * 获取：预估重量
	 */
	public Integer getYuguzhongliang() {
		return yuguzhongliang;
	}
	/**
	 * 设置：回收地址
	 */
	public void setHuishoudizhi(String huishoudizhi) {
		this.huishoudizhi = huishoudizhi;
	}
	/**
	 * 获取：回收地址
	 */
	public String getHuishoudizhi() {
		return huishoudizhi;
	}
	/**
	 * 设置：预约时间
	 */
	public void setYuyueshijian(Date yuyueshijian) {
		this.yuyueshijian = yuyueshijian;
	}
	/**
	 * 获取：预约时间
	 */
	public Date getYuyueshijian() {
		return yuyueshijian;
	}
	/**
	 * 设置：每斤单价
	 */
	public void setMeijindanjia(Integer meijindanjia) {
		this.meijindanjia = meijindanjia;
	}
	/**
	 * 获取：每斤单价
	 */
	public Integer getMeijindanjia() {
		return meijindanjia;
	}
	/**
	 * 设置：回收总额
	 */
	public void setHuishouzonge(String huishouzonge) {
		this.huishouzonge = huishouzonge;
	}
	/**
	 * 获取：回收总额
	 */
	public String getHuishouzonge() {
		return huishouzonge;
	}

}
